<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class CPSjqUIWrapper</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class CPSjqUIWrapper</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The CPSjqUIWraqpper is a wrapper for any jQuery UI widget</p>
<p class="description"><p>This class must be instantiated by using the static method (@link create).  If you do not use that method, the options will not initiate properly.</p><p>Here we create an accordion:  <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;Create&nbsp;an&nbsp;accordian...</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id"><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html">CPSjqUIWrapper</a></span><span class="src-sym">::</span><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html#methodcreate">create</a><span class="src-sym">(&nbsp;</span><span class="src-str">'accordion'</span><span class="src-sym">,&nbsp;</span><span class="src-key">array</span><span class="src-sym">(&nbsp;</span><span class="src-str">'header'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'h3'&nbsp;</span><span class="src-sym">)&nbsp;)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;...</div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">html</span>&gt;</div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;...</div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">h2&nbsp;</span><span class="src-key">class</span>=<span class="src-str">&quot;demoHeaders&quot;</span>&gt;<span class="src-id">Accordion</span>&lt;/<span class="src-id">h2</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">div&nbsp;id</span>=<span class="src-str">&quot;accordion&quot;</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">h3</span>&gt;&lt;<span class="src-id">a&nbsp;href</span>=<span class="src-str">&quot;#&quot;</span>&gt;<span class="src-id">First</span>&lt;/<span class="src-id">a</span>&gt;&lt;/<span class="src-id">h3</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">div</span>&gt;<span class="src-id">Lorem&nbsp;ipsum&nbsp;dolor&nbsp;sit&nbsp;amet</span>.&nbsp;<span class="src-id">Lorem&nbsp;ipsum&nbsp;dolor&nbsp;sit&nbsp;amet</span>.&nbsp;<span class="src-id">Lorem&nbsp;ipsum&nbsp;dolor&nbsp;sit&nbsp;amet</span>.&lt;/<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">h3</span>&gt;&lt;<span class="src-id">a&nbsp;href</span>=<span class="src-str">&quot;#&quot;</span>&gt;<span class="src-id">Second</span>&lt;/<span class="src-id">a</span>&gt;&lt;/<span class="src-id">h3</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">div</span>&gt;<span class="src-id">Phasellus&nbsp;mattis&nbsp;tincidunt&nbsp;nibh</span>.&lt;/<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">h3</span>&gt;&lt;<span class="src-id">a&nbsp;href</span>=<span class="src-str">&quot;#&quot;</span>&gt;<span class="src-id">Third</span>&lt;/<span class="src-id">a</span>&gt;&lt;/<span class="src-id">h3</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">div</span>&gt;<span class="src-id">Nam&nbsp;dui&nbsp;erat</span><span class="src-sym">,&nbsp;</span><span class="src-id">auctor&nbsp;a</span><span class="src-sym">,&nbsp;</span><span class="src-id">dignissim&nbsp;quis</span>.&lt;/<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">div</span>&gt;</div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;...</div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">html</span>&gt;</div></li>
</ol></div></p><p>In the above example, the 3rd parameter instructs the library to execute the widget's  (@link CWidget::run()) method after it has been initialized. This causes the output to  render. If you wish to run the widget at a later time, use the following code:  <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;Create&nbsp;an&nbsp;accordian...</span></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$_widget&nbsp;</span>=&nbsp;<span class="src-id"><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html">CPSjqUIWrapper</a></span><span class="src-sym">::</span><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html#methodcreate">create</a><span class="src-sym">(&nbsp;</span><span class="src-str">'accordion'</span><span class="src-sym">,&nbsp;</span><span class="src-key">array</span><span class="src-sym">(&nbsp;</span><span class="src-str">'header'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'h3'&nbsp;</span><span class="src-sym">)</span><span class="src-sym">,&nbsp;</span><span class="src-id">false</span><span class="src-sym">,&nbsp;</span><span class="src-id">null</span><span class="src-sym">,&nbsp;</span><span class="src-str">'cupertino'&nbsp;</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;...</div></li>
<li><div class="src-line">&nbsp;</div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$_widget</span><span class="src-sym">-&gt;</span><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html#methodrun">run</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jerry Ablan &lt;<a href="mailto:jablan@pogostick.com">jablan@pogostick.com</a>&gt;</li>
				<li><span class="field">version:</span> $Id: CPSjqUIWrapper.php 248 2009-06-16 02:52:11Z jerryablan@gmail.com $</li>
				<li><span class="field">since:</span> 1.0.0</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_pogostick---widgets---jqui---CPSjqUIWrapper.php.html">/pogostick/widgets/jqui/CPSjqUIWrapper.php</a> (line <span class="field">76</span>)
		</p>
		
				
		<pre>CInputWidget
   |
   --<a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a>
      |
      --<a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html">CPSjQueryWidget</a>
         |
         --CPSjqUIWrapper</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../psYiiExtensions/Widgets/CPSjqGridWidget.html">CPSjqGridWidget</a></td>
					<td>
											The CPSjqGridWidget allows the <a href="http://www.trirand.com/blog/">jqGrid</a> to be used in Yii.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../psYiiExtensions/Widgets/CPSMarkItUpWidget.html">CPSMarkItUpWidget</a></td>
					<td>
											CPSMarkItUpWidget a wrapper to the excellent (@link http://markitup.jaysalvat.com MarkItUp jQuery widget)
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../psYiiExtensions/Widgets/CPSWysiwygWidget.html">CPSWysiwygWidget</a></td>
					<td>
											CPSWysiwygWidget a wrapper to the excellent (@link http://code.google.com/p/jwysiwyg/ WYSIWYG jQuery widget)
										</td>
				</tr>
							</table>
		</div>
	</div>

	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#PS_EXTERNAL_PATH" title="details" class="const-name">PS_EXTERNAL_PATH</a> = 					<span class="var-type"> '/jqui'</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#PS_WIDGET_NAME" title="details" class="const-name">PS_WIDGET_NAME</a> = 					<span class="var-type"> 'jqui'</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																				<div class="var-title">
					static <span class="var-type">mixed</span>
					<a href="#$m_bMultiTheme" title="details" class="var-name">$m_bMultiTheme</a>
				</div>
																<div class="var-title">
					static <span class="var-type">mixed</span>
					<a href="#$m_sCurrentTheme" title="details" class="var-name">$m_sCurrentTheme</a>
				</div>
																				<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$m_arValidThemes" title="details" class="var-name">$m_arValidThemes</a>
				</div>
																											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
												<div class="method-definition">
					static 						<span class="method-result"><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html">CPSjqUIWrapper</a></span>
										<a href="#create" title="details" class="method-name">create</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sName</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$arOptions</span> = <span class="var-default">array()</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$sClass</span> = <span class="var-default">__CLASS__</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$sId</span>)
									</div>
																																								<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#loadScripts" title="details" class="method-name">loadScripts</a>
											([<span class="var-type"><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html">CPSjqUIWrapper</a></span>&nbsp;<span class="var-name">$oWidget</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$sTheme</span> = <span class="var-default">null</span>], <span class="var-type">CClientScript</span>&nbsp;<span class="var-name">$oCS</span>)
									</div>
																																																
																				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getCurrentTheme" title="details" class="method-name">getCurrentTheme</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getMultiTheme" title="details" class="method-name">getMultiTheme</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
																								<div class="method-definition">
											<span class="method-result">CPSjqUIWraqpper</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$oOwner</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#registerClientScripts" title="details" class="method-name">registerClientScripts</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sId</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#run" title="details" class="method-name">run</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setCurrentTheme" title="details" class="method-name">setCurrentTheme</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$sTheme</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setMultiTheme" title="details" class="method-name">setMultiTheme</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$bValue</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$m_bMultiTheme" id="$m_bMultiTheme"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>
			<span class="var-name">$m_bMultiTheme</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">109</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">If true, no theme-blocking will be done.</p>
	<ul class="tags">
				<li><span class="field">staticvar:</span> boolean 0: </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$m_sCurrentTheme" id="$m_sCurrentTheme"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>
			<span class="var-name">$m_sCurrentTheme</span>
						(line <span class="line-number">101</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The current theme. If set, future theme changes will be ignored</p>
	<ul class="tags">
				<li><span class="field">staticvar:</span> string 0: </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$m_arValidThemes" id="$m_arValidThemes"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$m_arValidThemes</span>
			 = <span class="var-default">array( 'base', 'black-tie', 'blitzer', 'cupertino', 'dot-luv', 'excite-bike', 'hot-sneaks', 'humanity', 'mint-choc', 'redmond', 'smoothness', 'south-street', 'start', 'swanky-purse', 'trontastic', 'ui-darkness', 'ui-lightness', 'vader' )</span>			(line <span class="line-number">116</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The current valid themes for jqUI widgets</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html">CPSjQueryWidget</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#var$m_arScripts">CPSjQueryWidget::$m_arScripts</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_arBehaviors">CPSWidget::$m_arBehaviors</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_bHasBehaviors">CPSWidget::$m_bHasBehaviors</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_sInternalName">CPSWidget::$m_sInternalName</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#var$m_sPrefixDelimiter">CPSWidget::$m_sPrefixDelimiter</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodcreate" id="create"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method create</span> (line <span class="line-number">217</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs and returns a jQuery widget</p>
<p class="description"><p>The options passed in are dynamically added to the options array and will be accessible  and modifiable as normal (.i.e. $this-&gt;theme, $this-&gt;baseUrl, etc.)</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result"><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html">CPSjqUIWrapper</a></span>
		<span class="method-name">
			create
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sName</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$arOptions</span> = <span class="var-default">array()</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$sClass</span> = <span class="var-default">__CLASS__</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$sId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sName</span><span class="var-description">: The type of jq widget to create</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$arOptions</span><span class="var-description">: The options for the widget</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sId</span><span class="var-description">: The DOM id of the widget if other than $sName</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sClass</span><span class="var-description">: The class of the calling object if different</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodcreate">CPSjQueryWidget::create()</a></dt>
						<dd>Constructs and returns a jQuery widget</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSjqGridWidget.html#methodcreate">CPSjqGridWidget::create()</a>
								: Constructs and returns a jQuery widget
							</li>
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSMarkItUpWidget.html#methodcreate">CPSMarkItUpWidget::create()</a>
								: Constructs and returns a jQuery widget
							</li>
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSWysiwygWidget.html#methodcreate">CPSWysiwygWidget::create()</a>
								: Constructs and returns a jQuery widget
							</li>
				</ul>
	</div>
<a name="methodloadScripts" id="loadScripts"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method loadScripts</span> (line <span class="line-number">232</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Registers the needed CSS and JavaScript.</p>
<p class="description"><p>One may use this to load the scripts necessary for styling buttons and  whatnot when jqUI widgets are not in use on a page.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			loadScripts
		</span>
					([<span class="var-type"><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html">CPSjqUIWrapper</a></span>&nbsp;<span class="var-name">$oWidget</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$sTheme</span> = <span class="var-default">null</span>], <span class="var-type">CClientScript</span>&nbsp;<span class="var-name">$oCS</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../psYiiExtensions/Widgets/CPSjqUIWrapper.html">CPSjqUIWrapper</a></span>
				<span class="var-name">$oWidget</span><span class="var-description">: The widget making this call, if any</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sTheme</span><span class="var-description">: The theme to use. If it's specified, will override theme set at the time of creation</span>			</li>
					<li>
				<span class="var-type">CClientScript</span>
				<span class="var-name">$oCS</span><span class="var-description">: The clientScript object of the app</span>			</li>
				</ul>
		
			
	</div>

<a name="methodgetCurrentTheme" id="getCurrentTheme"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getCurrentTheme</span> (line <span class="line-number">122</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getCurrentTheme
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetMultiTheme" id="getMultiTheme"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getMultiTheme</span> (line <span class="line-number">124</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getMultiTheme
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodinit" id="init"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">init</span> (line <span class="line-number">155</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize the widget</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodinit">CPSjQueryWidget::init()</a></dt>
						<dd>Initialize the widget</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSjqGridWidget.html#methodinit">CPSjqGridWidget::init()</a>
							</li>
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSMarkItUpWidget.html#methodinit">CPSMarkItUpWidget::init()</a>
								: Initialize the widget
							</li>
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSWysiwygWidget.html#methodinit">CPSWysiwygWidget::init()</a>
								: *
							</li>
				</ul>
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">137</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs a CPSjqUIWraqpper</p>
	
	<div class="method-signature">
		<span class="method-result">CPSjqUIWraqpper</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$oOwner</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$oOwner</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#method__construct">CPSjQueryWidget::__construct()</a></dt>
						<dd>Constructs a CPSjqUIWraqpper</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSMarkItUpWidget.html#method__construct">CPSMarkItUpWidget::__construct()</a>
								: Constructs a CPSjqUIWraqpper
							</li>
				</ul>
	</div>
<a name="methodregisterClientScripts" id="registerClientScripts"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">registerClientScripts</span> (line <span class="line-number">186</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Registers the needed CSS and JavaScript.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			registerClientScripts
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sId</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodregisterClientScripts">CPSjQueryWidget::registerClientScripts()</a></dt>
						<dd>Registers the needed CSS and JavaScript.</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSjqGridWidget.html#methodregisterClientScripts">CPSjqGridWidget::registerClientScripts()</a>
								: Registers the needed CSS and JavaScript.
							</li>
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSMarkItUpWidget.html#methodregisterClientScripts">CPSMarkItUpWidget::registerClientScripts()</a>
								: Registers the needed CSS and JavaScript.
							</li>
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSWysiwygWidget.html#methodregisterClientScripts">CPSWysiwygWidget::registerClientScripts()</a>
								: Registers the needed CSS and JavaScript.
							</li>
				</ul>
	</div>
<a name="methodrun" id="run"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">run</span> (line <span class="line-number">172</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">*</p>
<p class="description"><p>Runs this widget</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			run
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodrun">CPSjQueryWidget::run()</a></dt>
						<dd>*</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSMarkItUpWidget.html#methodrun">CPSMarkItUpWidget::run()</a>
								: *
							</li>
					<li>
				<a href="../../psYiiExtensions/Widgets/CPSWysiwygWidget.html#methodrun">CPSWysiwygWidget::run()</a>
								: *
							</li>
				</ul>
	</div>
<a name="methodsetCurrentTheme" id="setCurrentTheme"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setCurrentTheme</span> (line <span class="line-number">123</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setCurrentTheme
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$sTheme</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$sTheme</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetMultiTheme" id="setMultiTheme"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setMultiTheme</span> (line <span class="line-number">125</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setMultiTheme
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$bValue</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$bValue</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html">CPSjQueryWidget</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#method__construct">CPSjQueryWidget::__construct()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodaddScripts">CPSjQueryWidget::addScripts()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodcreate">CPSjQueryWidget::create()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodfinalizeCreate">CPSjQueryWidget::finalizeCreate()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodgenerateJavascript">CPSjQueryWidget::generateJavascript()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodinit">CPSjQueryWidget::init()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodregisterClientScripts">CPSjQueryWidget::registerClientScripts()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Widgets/CPSjQueryWidget.html#methodrun">CPSjQueryWidget::run()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__construct">CPSWidget::__construct()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodattachBehavior">CPSWidget::attachBehavior()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodattachBehaviors">CPSWidget::attachBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgenerateHtml">CPSWidget::generateHtml()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgenerateJavascript">CPSWidget::generateJavascript()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetBehaviorProperty">CPSWidget::getBehaviorProperty()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetBehaviors">CPSWidget::getBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetHasBehaviors">CPSWidget::getHasBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetInternalName">CPSWidget::getInternalName()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetNamePrefix">CPSWidget::getNamePrefix()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodgetPrefixDelimiter">CPSWidget::getPrefixDelimiter()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodhasBehaviorMethod">CPSWidget::hasBehaviorMethod()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodhasBehaviorProperty">CPSWidget::hasBehaviorProperty()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodinit">CPSWidget::init()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodregisterClientScripts">CPSWidget::registerClientScripts()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetBehaviorProperty">CPSWidget::setBehaviorProperty()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetHasBehaviors">CPSWidget::setHasBehaviors()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetInternalName">CPSWidget::setInternalName()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#methodsetPrefixDelimiter">CPSWidget::setPrefixDelimiter()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__call">CPSWidget::__call()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__get">CPSWidget::__get()</a></span><br>
													<span class="method-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#method__set">CPSWidget::__set()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constPS_EXTERNAL_PATH" id="PS_EXTERNAL_PATH"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">PS_EXTERNAL_PATH</span>
			 = <span class="const-default"> '/jqui'</span>
			(line <span class="line-number">89</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The path where the assets for this widget are stored (underneath the psYiiExtensions/external base</p>
	
	
</div>
<a name="constPS_WIDGET_NAME" id="PS_WIDGET_NAME"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">PS_WIDGET_NAME</span>
			 = <span class="const-default"> 'jqui'</span>
			(line <span class="line-number">85</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The path where the assets for this widget are stored (underneath the psYiiExtensions/external base</p>
	
	
</div>
							<h4>Inherited Constants</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../psYiiExtensions/Base/CPSWidget.html">CPSWidget</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_METHODS">CPSWidget::BEHAVIOR_META_METHODS</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_OBJECT">CPSWidget::BEHAVIOR_META_OBJECT</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_VALID">CPSWidget::BEHAVIOR_META_VALID</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../psYiiExtensions/Base/CPSWidget.html#constBEHAVIOR_META_VARS">CPSWidget::BEHAVIOR_META_VARS</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Mon, 15 Jun 2009 22:58:22 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
	</p>
	</div></body>
</html>